package com.nisure.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import com.nisure.common.BaseDao;
import com.nisure.entity.AccountEntity;


@Mapper
public interface AccountDao extends BaseDao<AccountEntity>{

	public String getRefreshToken(long userId);
	public int addAccount(Map<String,Object> map);
	public int updateRefreshToken(Map<String,Object> map);
	public List<AccountEntity> queryAccount(Map<String,Object> map);
	public int updateAccount(Map<String, Object> map);
	public List<AccountEntity> queryAccountByUserId(Map<String,Object> map);
	public List<Long> queryAllUserId();
}
